package com.hoshiicloud.user.mapper.store;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hoshiicloud.user.entity.store.StoreDepartment;
import com.hoshiicloud.user.param.store.StoreDepartmentQueryParam;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 店铺部门 Mapper 接口
 * </p>
 *
 * @author campchen
 * @since 2019-07-24
 */
public interface StoreDepartmentMapper extends BaseMapper<StoreDepartment> {

    List<Map> storeDeptList(@Param("param") StoreDepartmentQueryParam param);

    /**
     * 根据查询条件获取部门名称列表
     * @param param
     * @return
     */
    List<Map> storeDeptNameList(@Param("param") StoreDepartmentQueryParam param);

}
